﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;

namespace GestorSQL.DAO.FileManager
{
    public interface IFileManager
    {
        void SaveFile(string path, string fileNameWithOutExtesion, string information, bool overwrite);

        string GetFileData(string path, string fileNameWithOutExtesion);

        void SaveAppendFile(string path, string fileNameWithOutExtesion, string information);

        void CompressFile(string path, string fileNameWithOutExtesion, string compressFileName);

        StreamReader GetStreamReader(string path, string fileNameWithOutExtesion);

        StreamWriter GetStreamWriter(string path, string fileNameWithOutExtesion, bool overwrite);
    }
}
